<AppColorSpan
{{#eq ctrlType 'grid'}}
    name="{{#if dataItemName}}{{dataItemName}}{{else}}{{item.codeName}}{{/if}}"
    :data="record"
{{/eq}}
{{#eq ctrlType 'panel'}}
    name="{{item.name}}"
    :data="store.layoutData"
{{/eq}}
{{#eq ctrlType 'form'}}
    name="{{item.codeName}}"
    :data="store.data"
{{/eq}}
    {{#if item.psEditor.editorParams}}
    {{#if item.psEditor.editorParams.color}}
    color="{{item.psEditor.editorParams.color}}"
    {{/if}}
    {{/if}}
    
    style="{{#if item.psEditor.editorWidth}}width: {{item.psEditor.editorWidth}}px;{{/if}}{{#if item.psEditor.editorHeight}}height: {{item.psEditor.editorHeight}}px{{/if}}"
{{#eq ctrlType 'form'}}
    :value="store.data.{{item.psEditor.name}}"
{{/eq}}
{{#eq ctrlType 'grid'}}
    :value="record.{{#if dataItemName}}{{dataItemName}}{{else}}{{item.psEditor.name}}{{/if}}"
{{/eq}}
{{#eq ctrlType 'panel'}}
  {{#if isMultiData}}
    :value="store.layoutData[`{{item.name}}_${data.index}`]"
  {{else}}
    :value="store.layoutData.{{item.name}}"
  {{/if}}
{{/eq}}

></AppColorSpan>